package cn.hqc.system.mapper;


import cn.hqc.basic.mapper.BaseMapper;
import cn.hqc.org.vo.EmpAndRoleVo;
import cn.hqc.system.domain.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author itsource
 * @since 2023-05-11
 */
public interface RoleMapper extends BaseMapper<Role> {

    void addMiddle(@Param("empId") Long id, @Param("roles") List<Long> roles);

    List<EmpAndRoleVo> findByEmpIds(List<Long> empIds);

    void deleteMiddle(Long empId);
}
